﻿using System;
using System.Buffers;
using Xunit;

using Unity.String.Text;

namespace Unity.String.Tests.Text
{
    public class Utf16FormatterTest
    {
        public void FormatToTest()
        {
            IBufferWriter<char> bufferWriter = new ArrayBufferWriter<char>();
            long argValue = 2;
            int width = 2;
            ReadOnlySpan<char> format = new ReadOnlySpan<char>("sdfsdf".ToCharArray());
            string argName = "sfsd";
            Utf16Formatter.FormatTo(ref bufferWriter, argValue, width, format, argName);
        }
    }
}